package com.aidansmeaton.weightmanager.data;

import java.net.URL;

/**
 * @author Aidan Smeaton
 */
public class RedditPost {
	
	private String title;
	private URL link;
	private String date;
	private String description;
	
	public RedditPost(String title, URL link, String date, String description) {
		this.title = title;
		this.link = link;
		this.date = date;
		this.description = description;
	}

	@Override
	public String toString() {
		return "Post;" +
				"\n\n" +
				title +
				"\n\n" +
				link + 
				"\n\n" +
				date +
				"\n\n\n\n";
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public URL getLink() {
		return link;
	}

	public void setLink(URL link) {
		this.link = link;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}
	
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
		
}
